package com.business.system.bean;

import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author: xudy
 * @date: 2018/04/07 15:06
 * @description:
 */
@Table(name = "BRAND")
public class BrandBean extends ModelBean {
	@Column(pk = true, name = "ID", type = Type.定长文本, description = "编号", canNull = false, size = 32, policy = "UUID")
	private String id;

	@Column(name = "BRAND_NAME", type = Type.变长文本, description = "品牌名称", size = 50)
	private String brandName;

	@Column(name = "BRAND_LOGO", type = Type.变长文本, description = "品牌logo", size = 50)
	private String brandLogo;

	@Column(name = "AGENT_FEE", type = Type.数字双精度型, description = "代理费")
	private double agentFee;

	@Column(name = "AGENT_RATE", type = Type.数字双精度型, description = "代理返利佣金率")
	private double agentRate;

    @Column(name = "FRANCHISE_RATE", type = Type.数字双精度型, description = "加盟返利佣金率")
    private double  franchiseRate;

	@Column(name = "FRANCHISE_FEE", type = Type.数字双精度型, description = "加盟费")
	private double franchiseFee;

	@Column(name = "BRAND_DESC", type = Type.变长文本, description = "品牌描述", size = 50)
	private String brandDesc;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getBrandLogo() {
		return brandLogo;
	}

	public void setBrandLogo(String brandLogo) {
		this.brandLogo = brandLogo;
	}

	public double getAgentFee() {
		return agentFee;
	}

	public void setAgentFee(double agentFee) {
		this.agentFee = agentFee;
	}

	public double getAgentRate() {
		return agentRate;
	}

	public void setAgentRate(double agentRate) {
		this.agentRate = agentRate;
	}

	public double getFranchiseFee() {
		return franchiseFee;
	}

	public void setFranchiseFee(double franchiseFee) {
		this.franchiseFee = franchiseFee;
	}

	public String getBrandDesc() {
		return brandDesc;
	}

	public void setBrandDesc(String brandDesc) {
		this.brandDesc = brandDesc;
	}

    public double getFranchiseRate() {
        return franchiseRate;
    }

    public void setFranchiseRate(double franchiseRate) {
        this.franchiseRate = franchiseRate;
    }
}